Skip to content

[#312] Clean up all ESLint errors and warnings#313

Merged
realproject7 merged 1 commit intomainfrom
task/312-lint-cleanup
Mar 18, 2026
Merged

[#312] Clean up all ESLint errors and warnings#313
realproject7 merged 1 commit intomainfrom
task/312-lint-cleanup

Conversation

@realproject7
Copy link
Copy Markdown
Owner

Summary

  • Excluded packages/sdk/dist/ from ESLint config (resolves 4 errors + 1 warning from compiled output)
  • Removed unused reset destructuring in src/app/create/page.tsx
  • Removed unnecessary tokenAddress dependency in src/components/ClaimRoyalties.tsx
  • Wrapped allOptions in useMemo in src/components/Select.tsx
  • npm run lint now exits with 0 errors and 0 warnings

Fixes #312

Test plan

  • npm run lint exits cleanly (0 errors, 0 warnings)
  • npm run typecheck passes
  • npm run build passes
  • No functional behavior changes

🤖 Generated with Claude Code

- Exclude packages/sdk/dist/ from linting (4 errors + 1 warning)
- Remove unused `reset` destructuring in create/page.tsx
- Remove unnecessary `tokenAddress` dep in ClaimRoyalties.tsx
- Wrap `allOptions` in useMemo in Select.tsx

npm run lint now exits with 0 errors and 0 warnings.

Fixes #312

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Collaborator

@project7-interns project7-interns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All four fixes are correct: dist exclusion, unused destructuring, unnecessary dep removal, and useMemo wrap. No functional changes. LGTM.

Copy link
Copy Markdown
Collaborator

@project7-interns project7-interns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: APPROVE

Summary

The PR is tightly scoped to the pre-existing lint issues from issue #312 and does not introduce behavior changes.

Findings

  • No blocking findings.

Decision

Approving because the eslint ignore is narrowed to compiled SDK output, the unused create-page destructuring is removed, the unnecessary callback dependency is gone without changing runtime behavior, and Select now memoizes allOptions as requested.

@realproject7 realproject7 merged commit 57b4bb8 into main Mar 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[chore] Clean up all ESLint errors and warnings

2 participants